{extend name="admin@public/base" /}
{block name="styles"}
<style>
    .table-striped-new>tbody>tr:nth-of-type(4n+1) {
        background-color: #f9f9f9 !important;
    }
</style>
{/block}
{block name="main-content"}
<div class="page-content" style="padding-left:20px;padding-right:20px;">
    <div class="row maintop">
        <div class="col-xs-2 col-sm-2  margintop5">
            <a href="{:url('admin/Store/add')}">
                <button class="btn btn-sm btn-danger">
                    <i class="ace-icon glyphicon glyphicon-plus bigger-110"></i>
                    添加门店
                </button>
            </a>
        </div>
    </div>
    <div class="tabbable">
        <div class="tab-content no-border tab-pane in active" id="pending">
            <div class="row">
                <div class="table-responsive">
                    <table class="table table-striped-new table-bordered table-hover" id="dynamic-table">
                        <thead>
                        <tr>
                            <th class="center" width="5%">编号</th>
                            <th class="center" width="">名称</th>
                            <th class="center" width="8%">图片</th>
                            <th class="center" width="8%">添加日期</th>
                            <th class="center" width="10%" style="border-right:#CCC solid 1px;">操作</th>
                        </tr>
                        </thead>
                        <tbody id="ajax-data">
                        {include file="store/ajax_index"/}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div><!-- /.page-content -->
{/block}
{block name="scripts"}
<script src="__PUBLIC__/bootstrap-select/js/bootstrap-select.min.js"></script>
<script src="__PUBLIC__/jquery-ui/jquery-ui.min.js"></script>
<script src="__PUBLIC__/assets/js/jquery.colorbox.min.js"></script>
<script src="__PUBLIC__/assets/js/ace-elements.min.js"></script>
<script src="__PUBLIC__/assets/js/image-view.js"></script>
{/block}